home *** CD-ROM | disk | FTP | other *** search
- Path: zeus.ptltd.com!usenet
- From: JLOMAX@PTLTD.COM (Jeff Lomax)
- Newsgroups: comp.lang.c++
- Subject: Re: VB40 - requires VC++ Constants. Where to get the values.....??
- Date: 26 Mar 1996 18:00:55 GMT
- Organization: Phoenix Technologies Ltd
- Message-ID: <4j9bcn$5ai@zeus.ptltd.com>
- References: <3158747A.9E6@iha.bepr.ethz.ch>
- NNTP-Posting-Host: lomaxj.ptltd.com
- X-Newsreader: WinVN 0.99.5
-
- See WinUser.h and WinGdi.h for these defines...
-
- Jeff
-
-
-
- In article <3158747A.9E6@iha.bepr.ethz.ch>, hoffmann@iha.bepr.ethz.ch says...
- >
- >hello world,
- >
- >I am using VBasic40 on Win95. May this is the wrong forum, but I can
- >try....
- >So, I am writing an application in VB, which should allow to switch
- >the resolution of the graphic-card without rebooting the system.
- >There are SDK-functions in the MSDN, which are described to be used to
- >perform the desired task.
- >This description contains functions like, ChangeDisplaySettings,
- >which uses constants, which values are not defined. that's sh..,
- >because the VB-interpreter does not know, how to interpret the
- >constants....
- >a solution could be, that the desired constants are defined in any
- >VC++ header. That's the reason, why I post the request into this
- >group. I don't have access to VC++.
- >Does anyone know, the values of the following constants out of a C++
- >header?
- >Or does anyone know, where to get the values.?
- >
- >CDS_UPDATEREGISTRY
- >CDS_TEST
- >CDS_FORCE
- >
- >DISP_CHANGE_SUCCESSFUL
- >DISP_CHANGE_RESTART
- >DISP_CHANGE_BADFLAGS
- >DISP_CHANGE_FAILED
- >DISP_CHANGE_BADMODE
- >DISP_CHANGE_NOTUPDATED
- >
- >DM_BITSPERPEL
- >DM_PELSWIDTH
- >DM_PELSHEIGHT
- >DM_DISPLAYFLAGS
- >DM_DISPLAYFREQENCY
- >
- >I appreciate any repley....
- >thanks a lot.!
- >Andreas
- >
- >
- >--------------------------------------------------------------------
- > PLEASE RESPOND ALSO BY E-MAIL..!!
- >--------------------------------------------------------------------
- > Andreas Hoffmann
- > Institute of Hygiene and Applied Physiology
- > Swiss Federal Institute of Technology
- > ETH Center
- > CH-8092 Zurich
- > Switzerland
- >
- > Phone : ++ 41-1-632 3987
- > Fax : ++ 41-1-632 1173
- > e-mail : hoffmann@iha.bepr.ethz.ch
- >--------------------------------------------------------------------
-
-